package com.guigu.dh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.dh.pojo.user.UserInfo;
import com.guigu.dh.vo.user.UserAuthVo;
import com.guigu.dh.vo.user.UserInfoQueryVo;

public interface UserInfoService extends IService<UserInfo> {

    UserInfo findUserInfoByPhone(String phone);

    Boolean getPhoneInfo(String phone);

    Boolean userAuth(String phone, UserAuthVo userAuthVo);

    IPage<UserInfo> findAllPage(IPage<UserInfo> iPage, UserInfoQueryVo userInfoQueryVo);

    Boolean lockStatus(Long id, Integer status);

}
